package com.eightworld3.supermarket.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author EightWorld3
 */
@Schema(description = "用户信息")
@TableName("user_info")
public class UserInfo {
    /**
     * primary key
     */
    @TableId
    private int userId;

    @Schema(name = "userName",example = "焯",requiredMode = Schema.RequiredMode.REQUIRED,description = "用户名")
    private String userName;

    @Schema(name = "userPassword",example = "123456",requiredMode = Schema.RequiredMode.REQUIRED,description = "密码")
    private String userPassword;

    @Schema(name = "userPopedom",example = "0",requiredMode = Schema.RequiredMode.REQUIRED,description = "用户权限")
    private int userPopedom;

    @Schema(name = "userTelephone",example = "110",description = "联系方式")
    private String userTelephone;

    @Schema(name = "userRemark",example = "备注",description = "备注")
    private String userRemark;

    public int getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public int getUserPopedom() {
        return userPopedom;
    }

    public void setUserPopedom(int userPopedom) {
        this.userPopedom = userPopedom;
    }

    public String getUserTelephone() {
        return userTelephone;
    }

    public void setUserTelephone(String userTelephone) {
        this.userTelephone = userTelephone;
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark;
    }
}
